﻿namespace StarsAdmin.Core.Consts
{
    /// <summary>
    /// 缓存键常量
    /// </summary>
    public class CacheKeyConst
    {
        /// <summary>
        /// 权限菜单
        /// </summary>
        public const string AuthMenuKey = "STARSADMIN_AUTH_MENU_KEY";

        /// <summary>
        /// Token
        /// </summary>
        public const string RefreshTokenKey = "STARSADMIN_REFRESH_TOKEN_KEY";

        /// <summary>
        /// Token版本
        /// </summary>
        public const string TokenVersionKey = "STARSADMIN_TOKEN_VERSION_KEY";

        /// <summary>
        /// 鉴权失败消息
        /// </summary>
        public const string AuthMessageKey = "STARSADMIN_AUTH_MESSAGE_KEY";

        /// <summary>
        /// api文档
        /// </summary>
        public const string ApiDocumentKey = "STARSADMIN_APIDOCUMENT_KEY";

        /// <summary>
        /// 用户表缓存键
        /// </summary>
        public const string UserCacheKey = "STARSADMIN_USER_CACHE_KEY";

        /// <summary>
        /// 角色表缓存键
        /// </summary>
        public const string RoleCacheKey = "STARSADMIN_ROLE_CACHE_KEY";

        /// <summary>
        /// 菜单表缓存键
        /// </summary>
        public const string MenuCacheKey = "STARSADMIN_MENU_CACHE_KEY";

        /// <summary>
        /// 接口表缓存键
        /// </summary>
        public const string ApiCacheKey = "STARSADMIN_API_CACHE_KEY";

        /// <summary>
        /// 登录日志表缓存键
        /// </summary>
        public const string LoginLogCacheKey = "STARSADMIN_LOGIN_LOG_CACHE_KEY";

        /// <summary>
        /// 操作日志表缓存键
        /// </summary>
        public const string OperationLogCacheKey = "STARSADMIN_OPERATION_LOG_CACHE_KEY";

        /// <summary>
        /// 文件缓存键
        /// </summary>
        public const string FileCacheKey = "STARSADMIN_FILE_CACHE_KEY";

        /// <summary>
        /// 区域缓存键
        /// </summary>
        public const string RegionCacheKey = "STARSADMIN_REGION_CACHE_KEY";

        /// <summary>
        /// 字典缓存键
        /// </summary>
        public const string DictCacheKey = "STARSADMIN_DICT_CACHE_KEY";

        /// <summary>
        /// 字典类型缓存键
        /// </summary>
        public const string DictTypeCacheKey = "STARSADMIN_DICTTYPE_CACHE_KEY";
    }
}